package com.lmqb.bean;

import java.util.Date;


/*
 * 登录令牌信息
 * */
public class LmUserToken {
    private String accessId;   //令牌Id

    private String accessKey;   //令牌key

    private String dataTransferKey;   //数据key
    
    private Integer userId;   //用户ID

    private Byte deviceType;    //登录设备类型[0微信;1android;2ios]

    private Integer loginTime;     //登录时间

    private Integer lastActionTime;    //最后操作时间

    private Integer expireTime;    //过期时间
    
    private Date loginTimeD;

    private Date lastActionTimeD;

    private Date expireTimeD;
    
    private String userName;

    public Date getLoginTimeD() {
		return loginTimeD;
	}

	public void setLoginTimeD(Date loginTimeD) {
		this.loginTimeD = loginTimeD;
	}

	public Date getLastActionTimeD() {
		return lastActionTimeD;
	}

	public void setLastActionTimeD(Date lastActionTimeD) {
		this.lastActionTimeD = lastActionTimeD;
	}

	public Date getExpireTimeD() {
		return expireTimeD;
	}

	public void setExpireTimeD(Date expireTimeD) {
		this.expireTimeD = expireTimeD;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAccessId() {
        return accessId;
    }

    public void setAccessId(String accessId) {
        this.accessId = accessId == null ? null : accessId.trim();
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey == null ? null : accessKey.trim();
    }

    public String getDataTransferKey() {
        return dataTransferKey;
    }

    public void setDataTransferKey(String dataTransferKey) {
        this.dataTransferKey = dataTransferKey == null ? null : dataTransferKey.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Byte getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Byte deviceType) {
        this.deviceType = deviceType;
    }

    public Integer getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Integer loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getLastActionTime() {
        return lastActionTime;
    }

    public void setLastActionTime(Integer lastActionTime) {
        this.lastActionTime = lastActionTime;
    }

    public Integer getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Integer expireTime) {
        this.expireTime = expireTime;
    }
}